Url document viewing through a plug-in application for a mobile browser on a wireless device

ABSTRACT

A method is set forth of displaying a document identified by a URL on a mobile browser, comprising registering an attachment viewer plug-in to the mobile browser for a predetermined data stream content type, registering a mobile data service transcoder for predetermined document types, sending a request for the document of one of the predetermined document types from the mobile browser to the mobile service transcoder, retrieving and converting the document to the predetermined data stream content type, and forwarding the converted document from the mobile data service transcoder to the mobile browser for display via the attachment viewer plug-in.

BACKGROUND

1. Field

The present disclosure is directed to wireless communication devices, and more particularly to a method and apparatus for viewing documents identified by a Uniform Resource Locator (URL) from a mobile browser on a wireless communication device.

2. Description of the Related Art

Internet browser applications are well known for displaying web page content as hypertext, and for permitting user navigation between pages and downloading of documents through the use of Uniform Resource Locators (URLs). Document viewing in this manner using a desktop PC involves downloading the document and either launching the original authoring application to display the downloaded document or viewing the document through an application browser plug-in. For mobile devices, document viewing is accomplished by downloading the document onto the mobile device and launching a mobile edition of the original authoring application to display the document.

BRIEF DESCRIPTION OF THE DRAWINGS

FIGS. 1A and 1B show a mobile browser user interface with a document identified by a URL.

FIG. 2 shows the document displayed using a plug-in to the mobile browser.

FIG. 3 is a block diagram showing plug-in data flow between the device, a Mobile Data Service (MDS), Web Server and Attachment Server, according to the preferred embodiment.

FIGS. 4A shows operation of the mobile browser and plug-in, according to the preferred embodiment.

FIG. 4B shows operation of an MDS transcoder, according to the preferred embodiment.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS

Before discussing the architectural implementation of the preferred embodiment, reference will be made to FIGS. 1 and 2, showing an exemplary mobile browser user interface for displaying a document identified by a URL in a web page.

In FIG. 1A, a URL for a document (Executive Resume) is shown within a web page (i.e. Google Search). An indication is provided (i.e. DOC) that the documented is a supported MIME (Multipurpose Internet Mail Extensions) type (i.e. MS Word®). In response to user selection of the URL, a pop-up menu appears with a “Get Link” command that, when selected, causes a browser plug-in application to display the downloaded document, as shown in FIG. 2.

A preferred embodiment of the method and apparatus for viewing the documents displayed via the user interface of FIGS. 1 and 2, is set forth in FIG. 3. The mobile device 3 incorporates a web browser and an Attachment Viewer (referred to herein as “DocView”) plug-in for the browser to permit viewing supported document MIME types when a valid URL from a web page points to a document, as discussed above in connection with FIG. 1A.

During start-up (step A1 in FIG. 4A), the Attachment Viewer browser plug-in (“DocView”) registers itself (step A2) for a predetermined data stream content type, such as Universal Content Stream (UCS). According to the preferred embodiment, the browser plug-in registers an “application/vnd.company.ucs” content type with the browser, such that the browser adds “application/vnd.company.ucs” to the “Accept” header when requesting HTTP URLs.

Mobile Data Service (MDS) 5 forms a secure communication conduit between the mobile device 3 and servers, such as Web Servers 9A, 9B, etc., and Attachment Server 7. The MDS 5 functions as an HTTP and TCP/IP proxy with special features. MDS 5 incorporates a UCS transcoder that registers itself at start-up (step B1 in FIG. 4B) for all MIME content types (step B2 in FIG. 4B) supported by the Attachment Server 7 (e.g. “application/ms-word”, “applications/ms-excel”, etc). The Attachment Server 7 performs document conversion of attachments to a form suitable for transmission to the device 3 and display thereby. For example, if the attachment is a MS Word® document, the Attachment Server 7 performs a binary conversion of the document into UCS format, suitable for wireless delivery. The UCS format supports text, image, vector and hybrid content. Text content retains some of its original formatting, such as bold, italic and underlining, but the UCS rich text file is much smaller than the original document (e.g. 10% of the original document size).

The following content types are registered by the MDS transcoder:

Content Type Application Application/msword Microsoft Word Application/vnd.ms-excel Microsoft Excel Application/vnd.ms-powerpoint Microsoft PowerPoint Application/pdf Adobe PDF Application/wordperfect5.1 Corel Word Perfect 5.1 Application/vnd.wordperfect Corel Word Perfect

When a user selects “Get Link” (FIG. 1B and step A4 in FIG. 4A) for a URL that points to a supported content type (FIG. 1A and step A3 in FIG. 4A), an HTTP request is sent (step A5 in FIG. 4A) to the MDS 5 with “application/vnd.company.ucs” added to the “Accept” header. Upon receipt of the HTTP request from the Browser (step B3 in FIG. 4B), the MDS 5 sends the HTTP request (step B4 in FIG. 4B) to the destination web server (e.g. Web Servers 9A, 9B, etc.) along with the document types that can be converted (e.g. “application/pdf”) from native form to UCS data by the Attachment Server 7. The MDS 5 sends all acceptable content types to the destination server, because the UCS transcoder has registered a list of acceptable contents that can be transcoded into UCS, and the device 3 accepts UCS data.

Upon retrieving the page content from the Web Server (step B5 in FIG. 4B), MDS 5 transmits the data via the “application/vnd.company.ucs” transcoder to the Attachment Server 7 for conversion (step B6 in FIG. 4B). Upon successful binary conversion of the document to a UCS data stream, the Attachment Server 7 transmits the UCS data back to MDS 5 transcoder (step B7 in FIG. 4B), which then sends it to device browser 3 via HTTP response (step B8 in FIG. 4B), and the transcoder process ends (step B9 in FIG. 4B).

The MDS 5 pushes UCS data for the document back to the device 3 in the HTTP response (to a limit of 250 KB in the preferred embodiment, which is the default MDS setting). Upon receipt of the “application/vnd.company.ucs” content type stream (for which it registered at start up), the browser invokes the “DocView” plug-in to display the UCS data, as shown in FIG. 2. More particularly, the browser requests the DocView plug-in for a “BrowserContent” object. Once the browser receives the object it calls a finishLoading method. The Browser Plug-in invokes the Attachment Viewer passing the HTTP Input Stream as an input parameter. Then, the Attachment Viewer parses the UCS data in 3K chunks and reads more data from the HTTP Input Stream as and when required.

To avoid having the user wait until all the UCS data has been downloaded into the browser cache the plug-in invokes the browser Attachment Viewer as soon as 3 Kb of UCS data is available (step A6 in FIG. 4A) for parsing and display of the UCS content. Then, the Attachment Viewer parses and displays the UCS data in 3 Kb increments (step A7 in FIG. 4A), thereby simulating the well known attachment viewing experience when viewing an attachment via email on a mobile device, using the “More” feature. Browser process then ends (step A8 in FIG. 4A)

To preserve storage within device 3, the Attachment Viewer does not persist (i.e. save) the converted file when a conversion is requested through the plug-in. Closing the Attachment Viewer returns the user back to the previous web page from which the Get Link request was originally invoked.

As discussed above, in order to communicate with the Attachment Server 7 upon receiving requests from the browser plug-in, MDS 5 uses a dedicated transcoder that handles all request and response communication with the Attachment Server 7. Supported content types for the Attachment Server 7 are registered by the transcoder (e.g. application/pdf->application/vnd.company.ucs).

Alternatives and variations to the preferred embodiment will be understood to a person of skill in the art.

Many features and advantages are apparent from the detailed specification and, thus, it is intended by the appended claims to cover all such features and advantages. Further, since numerous modifications and changes will readily occur to those skilled in the art, it is not desired to impose any limit on the exact construction and operation illustrated and described, and accordingly all suitable modifications and equivalents may be resorted to, falling within the scope of the claims appended hereto. 

1-11. (canceled)
 12. A method comprising: registering an attachment viewer browser plug-in to a mobile browser for a predetermined data stream content type; sending a request for a document of one of a plurality of predetermined document types from the mobile browser for remote retrieval and conversion of the document to the one of the predetermined data stream content types; receiving a converted document in response to the request; and displaying the converted document via the attachment viewer browser plug-in.
 13. The method of clam 12, wherein the attachment viewer browser plug-in starts to display the converted document upon receiving an initial portion of the converted document.
 14. The method of claim 13, wherein the initial portion is 3 Kb.
 15. The method of claim 12, wherein the predetermined data stream content type is Universal Content Stream ‘UCS’.
 16. The method of claim 15, wherein the mobile browser adds an indication of the UCS content type when sending the request for the document.
 17. The method of claim 12, wherein the predetermined document type is selected from ‘.doc’, ‘.pdf’, ‘ppt’, ‘.xls’, ‘.pps’, ‘.wpd’, ‘.dot’.
 18. The method of claim 12, further comprising: registering a mobile data service transcoder for the plurality of predetermined document types; wherein the sending a request comprises sending a request for the document of one of the predetermined document types from the mobile browser to the mobile service transcoder; and wherein the method further comprises: retrieving and converting the document to the predetermined data stream content type; and forwarding the converted document from the mobile data service transcoder to the mobile browser for display via the attachment viewer browser plug-in.
 19. A method comprising: registering a mobile data service transcoder for a plurality of predetermined document types; receiving a request for the document of one of the plurality of predetermined document types; retrieving and converting the document to a predetermined data stream content type for remote display; and transmitting the converted document for the remote display.
 20. The method of clam 19, wherein the predetermined data stream content type is Universal Content Stream ‘UCS’.
 21. The method of claim 20, wherein the predetermined document types are selected from ‘.doc’, ‘.pdf’, ‘ppt’, ‘.xls’, ‘.pps’, ‘.wpd’, ‘.dot’.
 22. An apparatus comprising: a mobile browser; an attachment viewer browser plug-in to a mobile browser for displaying attachments conforming to a predetermined data stream content type, the attachment viewer browser plug-in enabled to: send a request for a document of one of a plurality of predetermined document types from the mobile browser for remote retrieval and conversion of the document to the one of the predetermined data stream content types; receive a converted document in response to the request; and display the converted document via the attachment viewer browser plug-in.
 23. The apparatus of claim 21, wherein the attachment viewer browser plug-in is configured to start to display the converted document upon receiving an initial portion of the converted document.
 24. The apparatus of claim 21, wherein the attachment viewer browser plug-in is configured to start to display the converted document upon receiving an initial portion of 3 Kb.
 25. The apparatus of claim 21, wherein the predetermined data stream content type comprises Universal Content Stream ‘UCS’.
 26. The apparatus of claim 25, wherein the mobile browser is configured to add an indication of the UCS content type when sending the request for the document to the mobile service transcoder.
 27. The apparatus of any one of claim 26, wherein the predetermined document types comprise any of ‘.doc’, ‘.pdf’, ‘ppt’, ‘.xls’, ‘.pps’, ‘.wpd’, ‘.dot’.
 28. A method comprising: registering an attachment viewer plug-in to the mobile browser for a predetermined data stream content type; registering a mobile data service transcoder for predetermined document types; sending a request for a document of one of the predetermined document types from the mobile browser to a mobile service transcoder, wherein the mobile browser adds an indication of a content type when sending the request for the document to the mobile service transcoder; retrieving and converting the document to the predetermined data stream content type; and forwarding the converted document from the mobile data service transcoder to the mobile browser for display via the attachment viewer plug-in.
 29. The method of clam 28, wherein the attachment viewer plug-in starts to display the converted document upon receiving an initial portion of the converted document.
 30. The method of claim 29, wherein the initial portion is 3 Kb.
 31. The method of claim 28, wherein the predetermined document types are selected from .doc, .pdf, ppt, .xls, .pps, .wpd, and .dot.
 32. Apparatus comprising: an attachment viewer plug-in to a mobile browser for displaying attachments conforming to a predetermined data stream content type; and a mobile data service transcoder for receiving a request for a document from the mobile browser, the request containing an indication of a content type, and initiating retrieval and conversion of the document from the predetermined document type to the predetermined data stream content type, and transmitting the converted document to the mobile browser for display via the attachment viewer plug-in.
 33. The apparatus of claim 32, wherein the attachment viewer plug-in starts to display the converted document upon receiving an initial portion of the converted document
 34. The apparatus of claim 33, wherein the initial portion is 3 Kb.
 35. The apparatus of claim 32, wherein the predetermined document types are selected from .doc, .pdf, ppt, .xls, .pps, .wpd, and .dot.
 36. A method comprising: registering an attachment viewer plug-in to the mobile browser for a predetermined data stream content type; sending a request for the document from the mobile browser for remote retrieval and conversion of the document to the predetermined data stream content type; and displaying the converted document via the attachment viewer plug-in.
 37. The method of claim 36, wherein the converted document is displayed upon receiving an initial portion of the converted document
 38. The method of claim 37, wherein the initial portion is 3 Kb.
 39. The method of one of claims 36 to 38, wherein the predetermined document type is selected from .doc, .pdf, .ppt, .xls, .pps, .wpd, and .dot. 